package cn.singno.springBoot.demo.ch06;

import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main
{
	@Test
	public void testname() throws Exception
        {
	        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(PrePostConfig.class);
	        
//	        BeanWayService beanWayService = context.getBean(BeanWayService.class);
	        
//	        JSR250WayService jsr250WayService = context.getBean(JSR250WayService.class);
	        
	        context.close();
        }
}
